import os
#from utils.logger import Logger

BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


CASE_PATH = os.path.join(BASE_PATH, "cases")
REPORT_PATH = os.path.join(BASE_PATH, "report")
LOG_PATH = os.path.join(BASE_PATH, "log")
DATA_PATH = os.path.join(BASE_PATH, "data")
CONFIG_PATH=os.path.join(BASE_PATH, "config")
# print(CASE_PATH)
# print(LOG_PATH)

#log = Logger("utp-autoTest",LOG_PATH ).get_log()

MYSQL_INFO = {
    "host": "",
    "user": "",
    "password": "",
    "port": 3306,
    "db": "",
    "charset": 'utf8',
    "autocommit": True,
}

REDIS_INFO = {
    "host": "",
    "password": "",
    "port": 6379,
    "db": 0,
}

# USER_MAIL_LIST = ['445723280@qq.com']
# USER_MAIL_CC = ['hellolml@163.com']
#
# #host=host,user=user,password=password
# MAIL_INFO = {
#     # 'host':'smtp.163.com',
#     'user':'besttest-stu@163.com',
#     # 'password': 'besttest-stu',
#     'password':'KZHGBCUMKDQYKEHG',
#     'port':465
# } #邮箱信息

test_env = "test"

host = {
    "test":"http://127.0.0.1:5051/"
}
